home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2888 / 2888.xpi / content / editBookmark.xul < prev    next >
Extensible Markup Language  |  2008-06-29  |  2KB  |  62 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <!DOCTYPE window SYSTEM "chrome://gmarks/locale/gmarks.dtd">
  4. <?xml-stylesheet href="chrome://gmarks/skin/style.css" type="text/css"?>
  5.  
  6. <dialog id="editBookmark" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  7.         onload="doLoad();"
  8.         buttons="accept,cancel"
  9.         ondialogaccept="return doOK();"
  10.         ondialogcancel="return doCancel();">
  11.     
  12.     <script type="application/x-javascript" src="chrome://gmarks/content/addeditbookmark.js"/>
  13.     <script type="application/x-javascript" src="chrome://gmarks/content/updateBookmark.js" />
  14.     <script type="application/x-javascript" src="chrome://gmarks/content/filters.js" />
  15.     <popupset>
  16.         <popup id="labelAutoComplete-popup" ignorekeys="true" position="after_start" class="autoCompletePopup" 
  17.             onkeypress="popupKeypress(event);"/>
  18.     </popupset>
  19.     <grid id="gmarksgrid" flex="1">
  20.         <columns>
  21.             <column/>
  22.             <column flex="1"/>
  23.         </columns>
  24.  
  25.         <rows id="GMarksRows">
  26.             <row>
  27.                 <label control="nameBox" value="&field.name;"/>
  28.                 <textbox id="nameBox" flex="1" spellcheck="true"/>
  29.             </row>
  30.             <row>
  31.                 <label control="urlBox" value="&field.url;"/>
  32.                 <textbox id="urlBox" flex="1" type="autocomplete" autocompletesearch="history"/>
  33.             </row>
  34.             <row>
  35.                 <label control="labelsBox" value="&field.labels;" style="padding-top: 2px;"/>
  36.                  <vbox>
  37.                      <hbox align="center">
  38.                          <label id="lblLabels" hidden="true" class="edit-lblLabels"/>
  39.                          <textbox id="labelsBox" flex="1"  spellcheck="true"
  40.                              onkeypress="handleKeypress(event);"
  41.                              onblur="hidePopup();"
  42.                              oninput="doLabelAutoComplete();"/>
  43.                      </hbox>
  44.                      <label value="&labels.howto;"/>
  45.                  </vbox>
  46.             </row>
  47.             <row id="visRow" hidden="true">
  48.                 <label control="visList" value="&addbkmk.visibility;"/>
  49.                 <menulist id="visList" value="0" flex="1">
  50.                   <menupopup>
  51.                     <menuitem label="&addbkmk.visibility.option1;"/>
  52.                     <menuitem label="&addbkmk.visibility.option2;"/>
  53.                   </menupopup>
  54.                 </menulist>
  55.             </row>
  56.             <row flex="1">
  57.                 <label control="notesBox" value="&field.notes;"/>
  58.                 <textbox id="notesBox" flex="1" multiline="true" spellcheck="true"/>
  59.             </row>
  60.         </rows>
  61.     </grid>
  62. </dialog>